﻿
using HBase;
using System;
namespace hCommand {
    /// <summary>
    /// 货架
    /// </summary>
    public class CoreTask :BaseEntity {

        public long stockId {
           
            get; set;
        }

        public int Status {
            get; set;
        }
        public string boxCode {
            get; set;
        }

        public DateTime createTime {
            get; set;
        }
        public DateTime? finshTime {
            get; set;
        }

        public string info {
            get; set;
        }
        /// <summary>
        /// 出库类型 出库,入库相关类型
        /// </summary>
        public int bussType {
            get; set;
        }

        
        public int upload {
            get; set;
        }
        public int priority
        {
            get; set;
        }
        
        public String waveNo { get; set; }

        public long diff { get; set; }
    }
    public enum CoreTaskStatus {//complete 没有结束状态
        删除 = -1, 新建 = 1, 执行中 = 2,不追加=4, 结束 = 9
    }

    public class BussType {//complete 没有结束状态
        public   const int 自动入库 = 11;
        public const int 自动出库 =21  ;
        public const int 手动出库 = 21;
        public const int 盘库 = 31;
        public const int 越库 = 41;
        public const int 移库 = 51;
        public const int 自定义 = 71;
        public const int 补料出库 = 99;
    }
    
}